import request from '@/utils/request'

// 查询物流公司配送信息列表
export function listLogisticsdelivery(query) {
  return request({
    url: '/manage/logisticsdelivery/list',
    method: 'get',
    params: query
  })
}

// 查询物流公司配送信息详细
export function getLogisticsdelivery(id) {
  return request({
    url: '/manage/logisticsdelivery/' + id,
    method: 'get'
  })
}

// 新增物流公司配送信息
export function addLogisticsdelivery(data) {
  return request({
    url: '/manage/logisticsdelivery',
    method: 'post',
    data: data
  })
}

// 修改物流公司配送信息
export function updateLogisticsdelivery(data) {
  return request({
    url: '/manage/logisticsdelivery',
    method: 'put',
    data: data
  })
}

// 删除物流公司配送信息
export function delLogisticsdelivery(id) {
  return request({
    url: '/manage/logisticsdelivery/' + id,
    method: 'delete'
  })
}
